<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
        <style>
            div {
                width: 150px;
                height: 150px;
                border: 1px solid red;
                /* 内边距会影响元素的宽高 */
                padding-top: 50px;
                padding-left: 50px;
            }
        </style>
    </head>
    <body>
        <div>内边距</div>
    </body>
</html>
